package com.yuan.exam;

import com.yuan.computer.Notebook;

public class Test {
	private int choose;
	private int judge;
	private int drew;
	private Notebook notebook;
	public Test(){

	}
	public void setChoose(int choose){
		this.choose = choose;
	}
	public int getChoose(){
		return choose;
	}
	public void setJudge(int judge){
		this.judge = judge;
	}
	public int getJudge(){
		return judge;
	}
	public void setDrew(int drew){
		this.drew = drew;
	}
	public int getDrew(){
		return drew;
	}
	public void setNotebook(Notebook notebook){
		this.notebook = notebook;
	}
	public Notebook getNotebook(){
		return notebook;
	}
	public void useNotebook(){
        System.out.println("使用" + notebook.getName() + notebook.getColor() + "考试");
        for(int a =1; a<=getChoose(); a++){
            System.out.println("第" + a + "道选择题做完了");
        }
        System.out.println("**************");
        for (int b = 1; b<=getJudge(); b++ ) {
            System.out.println("第" + b + "道判断题做完了");
        }
        System.out.println("**************");
        for (int c = 1; c<=getDrew();c++ ) {
            System.out.println("第" + c + "道画图题做完了");
        }
    }
} 